<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="UTF-8" />
    <title>Label - Floating</title>
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
    />
    <link href="../../../../../css/ionic.bundle.css" rel="stylesheet" />
    <link href="../../../../../scripts/testing/styles.css" rel="stylesheet" />
    <script src="../../../../../scripts/testing/scripts.js"></script>
    <script nomodule src="../../../../../dist/ionic/ionic.js"></script>
    <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
  </head>

  <body>
    <ion-app>
      <ion-header>
        <ion-toolbar>
          <ion-title>Label - Floating</ion-title>
        </ion-toolbar>
      </ion-header>

      <ion-content>
        <ion-list>
          <ion-list-header>
            <ion-label>Default</ion-label>
          </ion-list-header>

          <ion-item>
            <ion-label position="floating">Input</ion-label>
            <ion-input></ion-input>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Textarea</ion-label>
            <ion-textarea></ion-textarea>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Datetime</ion-label>
            <ion-datetime></ion-datetime>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Select</ion-label>
            <ion-select>
              <ion-select-option>Option</ion-select-option>
            </ion-select>
          </ion-item>
        </ion-list>

        <ion-list>
          <ion-list-header>
            <ion-label>Placeholders</ion-label>
          </ion-list-header>

          <ion-item>
            <ion-label position="floating">Input</ion-label>
            <ion-input placeholder="Placeholder Text"></ion-input>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Textarea</ion-label>
            <ion-textarea placeholder="Placeholder Text"></ion-textarea>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Datetime</ion-label>
            <ion-datetime placeholder="Placeholder Text"></ion-datetime>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Select</ion-label>
            <ion-select placeholder="Placeholder Text">
              <ion-select-option>Option</ion-select-option>
            </ion-select>
          </ion-item>
        </ion-list>

        <ion-list>
          <ion-list-header>
            <ion-label>Values</ion-label>
          </ion-list-header>

          <ion-item>
            <ion-label position="floating">Input</ion-label>
            <ion-input value="Input Value"></ion-input>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Textarea</ion-label>
            <ion-textarea value="Textarea Value"></ion-textarea>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Datetime</ion-label>
            <ion-datetime value="2020-03-04"></ion-datetime>
          </ion-item>

          <ion-item>
            <ion-label position="floating">Select</ion-label>
            <ion-select value="option">
              <ion-select-option value="option">Option</ion-select-option>
            </ion-select>
          </ion-item>
        </ion-list>
      </ion-content>

      <style>
        ion-content {
          --background: #f6f6f6;
        }

        ion-list {
          background: transparent !important;
        }
      </style>
    </ion-app>
  </body>
</html>
